package com.vrv.app.cyberspace.modules.sys.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author sm
 * @since 2018-01-18
 */
@TableName("RISK_TABLE")
public class RiskTable extends Model<RiskTable> {

    private static final long serialVersionUID = 1L;

	@TableId("baseID")
	private Integer baseID;
    /**
     * 初判风险类型
     */
	private Integer primaryRiskType;
    /**
     * 初判风险等级:1很高 2高 3中等 4低 5很低
     */
	private Integer primaryRiskGrade;
    /**
     * contactPhone
     */
	private String contactPhone;
    /**
     * 传真
     */
	private String fax;
    /**
     * 基本情况描述
     */
	private String basicSituationDescription;
    /**
     * 验证方法
     */
	private String verificationMethod;
    /**
     * 发展趋势及可能危害
     */
	private String trendHazards;
    /**
     * 已采取的措施和效果
     */
	private String measureToken;
    /**
     * 建议应对措施
     */
	private String suggestion;
    /**
     * 备注
     */
	private String remarks;
    /**
     * 附件
     */
	private String enclosure;
    /**
     * 影响及危害描述
     */
	private String influenceHarm;
    /**
     * 地域表IDs组合
     */
	private String regionIDs;
    /**
     * 行业IDs组合
     */
	private String industryIDs;
    /**
     * 基础设施IDs
     */
	private String infrastructureIDs;

	/**
	 * 基础设施列表
	 */
	@TableField(exist = false)
	private List<InfrastructureInformationTable> infrastructureList;

	@TableField(exist = false)
	private List<IndustryTable> industryList;

	@TableField(exist = false)
	private String industryListString;

	@TableField(exist = false)
	private List<RegionTable> regionList;

	@TableField(exist = false)
	private String regionListString;

	@TableField(exist = false)
	private RiskTypeTable riskType;

	@TableField(exist = false)
	private List<AttachmentTable> attachmentList;


	public Integer getBaseID() {
		return baseID;
	}

	public void setBaseID(Integer baseID) {
		this.baseID = baseID;
	}

	public Integer getPrimaryRiskType() {
		return primaryRiskType;
	}

	public void setPrimaryRiskType(Integer primaryRiskType) {
		this.primaryRiskType = primaryRiskType;
	}

	public Integer getPrimaryRiskGrade() {
		return primaryRiskGrade;
	}

	public void setPrimaryRiskGrade(Integer primaryRiskGrade) {
		this.primaryRiskGrade = primaryRiskGrade;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getBasicSituationDescription() {
		return basicSituationDescription;
	}

	public void setBasicSituationDescription(String basicSituationDescription) {
		this.basicSituationDescription = basicSituationDescription;
	}

	public String getVerificationMethod() {
		return verificationMethod;
	}

	public void setVerificationMethod(String verificationMethod) {
		this.verificationMethod = verificationMethod;
	}

	public String getTrendHazards() {
		return trendHazards;
	}

	public void setTrendHazards(String trendHazards) {
		this.trendHazards = trendHazards;
	}

	public String getMeasureToken() {
		return measureToken;
	}

	public void setMeasureToken(String measureToken) {
		this.measureToken = measureToken;
	}

	public String getSuggestion() {
		return suggestion;
	}

	public void setSuggestion(String suggestion) {
		this.suggestion = suggestion;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getEnclosure() {
		return enclosure;
	}

	public void setEnclosure(String enclosure) {
		this.enclosure = enclosure;
	}

	public String getInfluenceHarm() {
		return influenceHarm;
	}

	public void setInfluenceHarm(String influenceHarm) {
		this.influenceHarm = influenceHarm;
	}

	public String getRegionIDs() {
		return regionIDs;
	}

	public void setRegionIDs(String regionIDs) {
		this.regionIDs = regionIDs;
	}

	public String getIndustryIDs() {
		return industryIDs;
	}

	public void setIndustryIDs(String industryIDs) {
		this.industryIDs = industryIDs;
	}

	public String getInfrastructureIDs() {
		return infrastructureIDs;
	}

	public void setInfrastructureIDs(String infrastructureIDs) {
		this.infrastructureIDs = infrastructureIDs;
	}

	public List<InfrastructureInformationTable> getInfrastructureList() {
		return infrastructureList;
	}

	public void setInfrastructureList(List<InfrastructureInformationTable> infrastructureList) {
		this.infrastructureList = infrastructureList;
	}

	public List<IndustryTable> getIndustryList() {
		return industryList;
	}

	public void setIndustryList(List<IndustryTable> industryList) {
		this.industryList = industryList;
	}

	public String getIndustryListString() {
		return industryListString;
	}

	public void setIndustryListString(String industryListString) {
		this.industryListString = industryListString;
	}

	public List<RegionTable> getRegionList() {
		return regionList;
	}

	public void setRegionList(List<RegionTable> regionList) {
		this.regionList = regionList;
	}

	public String getRegionListString() {
		return regionListString;
	}

	public void setRegionListString(String regionListString) {
		this.regionListString = regionListString;
	}

	public RiskTypeTable getRiskType() {
		return riskType;
	}

	public void setRiskType(RiskTypeTable riskType) {
		this.riskType = riskType;
	}

	public List<AttachmentTable> getAttachmentList() {
		return attachmentList;
	}

	public void setAttachmentList(List<AttachmentTable> attachmentList) {
		this.attachmentList = attachmentList;
	}

	@Override
	protected Serializable pkVal() {
		return this.baseID;
	}

	@Override
	public String toString() {
		return "RiskTable{" +
			", baseID=" + baseID +
			", primaryRiskType=" + primaryRiskType +
			", primaryRiskGrade=" + primaryRiskGrade +
			", contactPhone=" + contactPhone +
			", fax=" + fax +
			", basicSituationDescription=" + basicSituationDescription +
			", verificationMethod=" + verificationMethod +
			", trendHazards=" + trendHazards +
			", measureToken=" + measureToken +
			", suggestion=" + suggestion +
			", remarks=" + remarks +
			", enclosure=" + enclosure +
			", influenceHarm=" + influenceHarm +
			", regionIDs=" + regionIDs +
			", industryIDs=" + industryIDs +
			", infrastructureIDs=" + infrastructureIDs +
			"}";
	}
}
